/**

 */

export const timer = (minters) => {
  let m = Math.floor(minters / 60)
  let s = minters % 60
  return addZero(m) + ':' + addZero(s)
}

export const addZero = (num) => {
  return num < 10 ? '0' + num : num
}